package com.boot.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultCode {

    SUCCESS(1000,"成功"),
    ERROR(1001,"失败"),
    USERNAME_NOT_FOUND(1002,"用户名未找到");

    private Integer code;
    private String msg;

}
